<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: AbstractButtonRender类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">0.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="class_abstract_button_render-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">AbstractButtonRender类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 AbstractButtonRender 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_abstract_button_render.png" usemap="#AbstractButtonRender_map" alt=""/>
  <map id="AbstractButtonRender_map" name="AbstractButtonRender_map">
<area href="class_i_abstract_button_render.html" alt="IAbstractButtonRender" shape="rect" coords="0,0,138,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a2b0fdbc7697382c1c1b8f986579a9e0b"><td class="memItemLeft" align="right" valign="top"><a id="a2b0fdbc7697382c1c1b8f986579a9e0b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>updateState</b> (State s)</td></tr>
<tr class="separator:a2b0fdbc7697382c1c1b8f986579a9e0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af758055f7eab3adae7760ca513f8b7d4"><td class="memItemLeft" align="right" valign="top"><a id="af758055f7eab3adae7760ca513f8b7d4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setHoveringImage</b> (std::unique_ptr&lt; <a class="el" href="class_scale9_image.html">Scale9Image</a> &gt; &amp;&amp;hover_image)</td></tr>
<tr class="separator:af758055f7eab3adae7760ca513f8b7d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a972358a8b09bb3e1a7f6129f83ac9bbd"><td class="memItemLeft" align="right" valign="top"><a id="a972358a8b09bb3e1a7f6129f83ac9bbd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setNormalImage</b> (std::unique_ptr&lt; <a class="el" href="class_scale9_image.html">Scale9Image</a> &gt; &amp;&amp;normal_image)</td></tr>
<tr class="separator:a972358a8b09bb3e1a7f6129f83ac9bbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa17b2fb493a6e6f54a462e6e3e5ad3d0"><td class="memItemLeft" align="right" valign="top"><a id="aa17b2fb493a6e6f54a462e6e3e5ad3d0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setPushedImage</b> (std::unique_ptr&lt; <a class="el" href="class_scale9_image.html">Scale9Image</a> &gt; &amp;&amp;pushed_image)</td></tr>
<tr class="separator:aa17b2fb493a6e6f54a462e6e3e5ad3d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28524feb0404af81cb28cb2aab71ece0"><td class="memItemLeft" align="right" valign="top"><a id="a28524feb0404af81cb28cb2aab71ece0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setDisabledImage</b> (std::unique_ptr&lt; <a class="el" href="class_scale9_image.html">Scale9Image</a> &gt; &amp;&amp;disabled_image)</td></tr>
<tr class="separator:a28524feb0404af81cb28cb2aab71ece0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc253577ec74763561d6e9b241de9c3c"><td class="memItemLeft" align="right" valign="top"><a id="afc253577ec74763561d6e9b241de9c3c"></a>
<a class="el" href="class_scale9_image.html">Scale9Image</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getHoveringImage</b> () const</td></tr>
<tr class="separator:afc253577ec74763561d6e9b241de9c3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac14b346fc24674ec5aea8ccc5d7ce4d3"><td class="memItemLeft" align="right" valign="top"><a id="ac14b346fc24674ec5aea8ccc5d7ce4d3"></a>
<a class="el" href="class_scale9_image.html">Scale9Image</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getNormalImage</b> () const</td></tr>
<tr class="separator:ac14b346fc24674ec5aea8ccc5d7ce4d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7868ee0931cfc3d2b2b100238dd916e6"><td class="memItemLeft" align="right" valign="top"><a id="a7868ee0931cfc3d2b2b100238dd916e6"></a>
<a class="el" href="class_scale9_image.html">Scale9Image</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getPushedImage</b> () const</td></tr>
<tr class="separator:a7868ee0931cfc3d2b2b100238dd916e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0516cf30821bec1c1455844b5e31ecc3"><td class="memItemLeft" align="right" valign="top"><a id="a0516cf30821bec1c1455844b5e31ecc3"></a>
<a class="el" href="class_scale9_image.html">Scale9Image</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getDisabledImage</b> () const</td></tr>
<tr class="separator:a0516cf30821bec1c1455844b5e31ecc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe69471b5f7cdf4e4b2cee0720a9c726"><td class="memItemLeft" align="right" valign="top"><a id="abe69471b5f7cdf4e4b2cee0720a9c726"></a>
<a class="el" href="class_scale9_image.html">Scale9Image</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getCurrentRenderImage</b> () const</td></tr>
<tr class="separator:abe69471b5f7cdf4e4b2cee0720a9c726"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adda31762e9c934455b4c669d57dd59a1"><td class="memItemLeft" align="right" valign="top"><a id="adda31762e9c934455b4c669d57dd59a1"></a>
<a class="el" href="class_text.html">Text</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getTextRender</b> () const</td></tr>
<tr class="separator:adda31762e9c934455b4c669d57dd59a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14ff232ec8d99acd66177d5ab5612b83"><td class="memItemLeft" align="right" valign="top"><a id="a14ff232ec8d99acd66177d5ab5612b83"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>setTextStyle</b> (IAbstractButtonRender::State state, const <a class="el" href="class_font.html">Font</a> &amp;font) override</td></tr>
<tr class="separator:a14ff232ec8d99acd66177d5ab5612b83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2572f704b72cf5c84413e16b691313df"><td class="memItemLeft" align="right" valign="top"><a id="a2572f704b72cf5c84413e16b691313df"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>setTextStyle</b> (IAbstractButtonRender::State state, const <a class="el" href="class_font.html">Font</a> &amp;font, const <a class="el" href="class_color.html">Color</a> &amp;color) override</td></tr>
<tr class="separator:a2572f704b72cf5c84413e16b691313df"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a942330d107b91ab624778a116022a7ee"><td class="memItemLeft" align="right" valign="top"><a id="a942330d107b91ab624778a116022a7ee"></a>
static <a class="el" href="class_abstract_button_render.html">AbstractButtonRender</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>create</b> (std::unique_ptr&lt; <a class="el" href="class_scale9_image.html">Scale9Image</a> &gt; &amp;&amp;normal_image, const std::wstring &amp;default_text=L&quot;&quot;)</td></tr>
<tr class="separator:a942330d107b91ab624778a116022a7ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac244bfc2ad184f8125a283c671dd251a"><td class="memItemLeft" align="right" valign="top"><a id="ac244bfc2ad184f8125a283c671dd251a"></a>
static <a class="el" href="class_abstract_button_render.html">AbstractButtonRender</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>create</b> ()</td></tr>
<tr class="separator:ac244bfc2ad184f8125a283c671dd251a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a0bd49eb7e530f83781af228969afbf84"><td class="memItemLeft" align="right" valign="top"><a id="a0bd49eb7e530f83781af228969afbf84"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>initTextRender</b> ()</td></tr>
<tr class="separator:a0bd49eb7e530f83781af228969afbf84"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_types_class_i_abstract_button_render"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_i_abstract_button_render')"><img src="closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="class_i_abstract_button_render.html">IAbstractButtonRender</a></td></tr>
<tr class="memitem:a0d4e4cef45f65bc21f5d224604d95e9d inherit pub_types_class_i_abstract_button_render"><td class="memItemLeft" align="right" valign="top"><a id="a0d4e4cef45f65bc21f5d224604d95e9d"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>State</b> { <b>Disable</b>, 
<b>Normal</b>, 
<b>Pushed</b>, 
<b>Hovering</b>
 }</td></tr>
<tr class="separator:a0d4e4cef45f65bc21f5d224604d95e9d inherit pub_types_class_i_abstract_button_render"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>该类的文档由以下文件生成:<ul>
<li>E:/SkyGameEngine2d/src/ui/<a class="el" href="_abstract_button_render_8h_source.html">AbstractButtonRender.h</a></li>
<li>E:/SkyGameEngine2d/src/ui/AbstractButtonRender.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
